package com.aaa.pojo.jl;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class PlanSas {
    int id;
    String testName;
    int testCode;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )

    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    Date testBegin;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )

    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    Date testEnd;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )

    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    Date createTime;
    String createBy;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )

    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    Date updateTime;
    String updateBy;
    String remark;
    String type ;


}
